from django import forms

class loginForm(forms.Form):
    Email = forms.EmailField(widget=forms.TextInput(attrs={'placeholder':'Email'}))
    Password = forms.CharField(widget=forms.PasswordInput(attrs={'placeholder':'Password'}))
    Remember = forms.BooleanField(required=False, label='Remember me', widget=forms.CheckboxInput)

class newCourseForm(forms.Form):
    CourseNo = forms.CharField(widget=forms.TextInput(attrs={'placeholder': 'Course Number', 'class': 'span3'}))
    Name = forms.CharField(widget=forms.TextInput(attrs={'placeholder': 'Course Name', 'class': 'span3'}))
    SubEmail = forms.EmailField(widget=forms.TextInput(attrs={'placeholder': 'Submission Email', 'class': 'span3'}))
    SubPassword = forms.CharField(widget=forms.PasswordInput(attrs={'placeholder':'Submission Email Password', 'class': 'span3'}))
    TAEmail = forms.EmailField(widget=forms.TextInput(attrs={'placeholder': 'TA Email', 'class': 'span3'}))
    Year = forms.IntegerField(widget=forms.TextInput(attrs={'placeholder':'Year', 'class': 'span3'}))